[XEN][POWERPC] Create a Domain Foreign Map space
authorJimi Xenidis <jimix@watson.ibm.com>
Sun, 8 Oct 2006 15:34:24 +0000 (11:34 -0400)
committerJimi Xenidis <jimix@watson.ibm.com>
Sun, 8 Oct 2006 15:34:24 +0000 (11:34 -0400)
commit93e59bf1473739c713935b501ffbd3ea3f366ab8
tree0d280d440eb495996b8a809eb8f8500515303774
parent594e1f98b75afc02224b5525526be21f647da6d5
[XEN][POWERPC] Create a Domain Foreign Map space
The following patch creates a Domain Foreign Map space that is uses to
map granted memory into the Linear Map of the domain.  The Linear Map
of Linux is the is the Kernel Virtual address space where VA = PA +
PAGE_OFFSET.
Also:
 - lots of grant_* interfaces work now
 - mm.[ch] cleanups
 - first pass at extracting Page Table operations from PAPR interfaces
 - get_page_type() fix logic bug
 - recognize a grant table mapping by placing its gmfn at the end of
   real memory.
 - grant table usually mapped like an IO page, so force WIMG bits I=0
 - mfn_to_gmfn and pfn2mfn get WAY to complex, need get a simpler model in.
 - communicate the Domain Foreign Map to domains using /xen/foreign-map
 - make sure all bit definitions are UL where possible
 - now that we actually assign Xen heap pages to domains they must be
   relinquished
Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/domain.c
xen/arch/powerpc/mm.c
xen/arch/powerpc/ofd_fixup.c
xen/arch/powerpc/papr/xlate.c
xen/include/asm-powerpc/grant_table.h
xen/include/asm-powerpc/mm.h